﻿namespace PmSoft.Jiguang
{
    /// <summary>
    /// 广播模型
    /// </summary>
    public class BroadcastPushModel
    {
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; } = string.Empty;
        /// <summary>
        /// 消息
        /// </summary>
        public string Message { get; set; } = string.Empty;
        /// <summary>
        /// 参数
        /// </summary>
        public Dictionary<string, object> Extras { get; set; }

    }

    /// <summary>
    /// 发送给指定人模型
    /// </summary>
    public class AppointPushModel : BroadcastPushModel
    {
        /// <summary>
        /// 设备别名集合
        /// </summary>
        public List<string> TargetAlias { get; set; }
    }

}
